﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace TPBaseDataLibrary
{
    public class map_element_parttype
    {
        public int index;
        public UInt32 code;
    };

    public class map_element_part
    {
        public int index;
        public UInt32 part_mask;
        public int count;
        public List<map_element_parttype> elementPart = new List<map_element_parttype>();
    };
    public class TDMapElement
    {
        public int layer;
        public int id;
        public string caption;
        public string texname;
        public float x;
        public float y;
        public int size;
    }
    public class TDMapElements
    {
        public List<TDMapElement> mapelements = new List<TDMapElement>();
    }
    public class TDElements
    {
        public List<map_element_part> elements = new List<map_element_part>();
    }
    public class TDWaveInfo
    {
        public string name;
        public int count;
    }
    public class TDLevelPoint
    {
        public int X;
        public int Y;
    }
    public class TDLevelConfig
    {
        public string name;
        public string descript;
        public string altar;
        public int wavegap;
        public int startforce;
        public List<TDWaveInfo> wavelist = new List<TDWaveInfo>();
        public List<TDLevelPoint> ptlist = new List<TDLevelPoint>();
    }
    public class TDLevelInfo
    {
        public string levelname;
        public string levelmap;
        public string levelinfo;
        public string levelconfig;
    }
    public class TDLevelList
    {
        public List<TDLevelInfo> LevelList = new List<TDLevelInfo>();
    }
}
